package com.springframework;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @Author Markburt
 * @Description :
 * @DATE: 2020/4/21
 * @TIME: 下午 12:00
 * @YEAR: 2020
 * @Version :
 **/
@SpringBootApplication
public class GatewayApplication {
    /***
     * Non-network way to start spring boot project
     * @param args
     */
    public static void main(String[] args) {
        new SpringApplicationBuilder(GatewayApplication.class)
                .web(WebApplicationType.REACTIVE)
                .run(args);
    }


    /***
     * 正常启动方式web启动
     * @param args
     */
    /*public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }*/


}
